/**
 * 框架的model
 * @author: minzhang
 * @update: 2016-03-07
 */

import { query, save } from '../services/mainLayout';
import { message } from 'antd';
import { parse } from 'qs';

export default {

  namespace: 'mainLayout',

  state: {
		main: null
  },
	
  subscriptions: {
    setup({ dispatch, history }) {
      history.listen(location => {
//				dispatch({
//					type: 'query',
//				});
      });
    }
  },

  effects: {
  },

  reducers: {
		
  },
};
